package main

import (
	"devops/config"
	"devops/routes"
	"devops/timer"
	"log"
)

func main() {
	engine := routes.InitRoutes()
	go timer.Run()
	if err := engine.Run(":" + config.SrvPort); err != nil {
		log.Fatal(err)
	}
}
